home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: kevgar@ix.netcom.com (Kevin Landry)
- Newsgroups: comp.lang.c
- Subject: Re: Unbuffered character input...
- Date: Tue, 30 Jan 1996 15:51:54 GMT
- Organization: Netcom
- Message-ID: <4elf0t$5vd@ixnews2.ix.netcom.com>
- References: <Pine.SGI.3.91.960129190205.27936A-100000@tahiti.cs.unm.edu>
- NNTP-Posting-Host: lbx-ca6-14.ix.netcom.com
- X-NETCOM-Date: Tue Jan 30 7:55:09 AM PST 1996
- X-Newsreader: Forte Agent .99.82
-
- Caleb Haley <chaley@tahiti.cs.unm.edu> wrote:
-
- >Greetings!
-
- >Just curious--is there a way to do unbuffered character input in c?
- >i.e. getting just one character without waiting for a carriage return
- >(enter)...
-
- I believe there are two commands in C that do this. getch() is
- unbuffered input without echo and getche() has the echo. Hope this
- helps.
-
- -kevgar@ix.netcom.com
- "Cry havoc, and let slip
- the dogs of war!!"
-
-